def byte_size(string):
    return(len(string.encode('utf-8')))